.categories-wrapper {
    position: relative;
    margin: 5px;
    width: 100px;
    /*请固定长度，否则选择时会改变宽度*/
}

.category-input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
}

.category-input:checked+label {
    background: url("/images/check.png") no-repeat;
    /* put your image here*/
    background-size: 40px 40px;
    /*图片等比缩放*/
    height: 40px;
    width: 40px;
    position: absolute;
    top: 0;
    left: 0;
}

label {
    margin: 0 auto;
    width: 30%;
    height: 50%;
    /* display: block; */
    position: relative;
    cursor: pointer;
    margin-bottom: 30px;
}

input[type=radio] {
    display: none;
}

input[type=radio]+img {
    border: 4px solid #eee;
    transition: border-color 0.2s ease-in-out;
    max-height: 200px;
}

input[type=radio]:checked+img {
    border-color: #4286f4;
}

label:hover input[type=radio]+img {
    filter: brightness(90%);
}

label img {
    border-radius: 20px;
    /* transform: skew(-10deg);

                -webkit-transform: skew(-10deg);

                -moz-transform: skew(-10deg);

                -o-transform: skew(-10deg);

                -ms-transform: skew(-10deg); */
    width: 90%;
    height: 100%;
    /* display: block; */
    max-height: 200px;
}

label span {
    position: absolute;
    /* bottom: -24px; */
    top:5%;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
}
.rooms::-webkit-scrollbar {
    display: none;
}

.rooms {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.lu-btn-3d {
    width: 100px;
    height: 40px;
    background: linear-gradient(to bottom, #4eb5e5 0%, #389ed5 100%);
    border: none;
    border-radius: 5px;
    position: relative;
    border-bottom: 5px solid #2b8bc6;
    color: #fbfbfb;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .4);
    font-size: 15px;
    text-align: center;
    box-shadow: 0px 3px 0px rgba(0, 0, 0, .2);
    cursor: pointer;
}
.cancelbtn {
    width: 150px;
    height: 40px;
    background: linear-gradient(to bottom, #4eb5e5 0%, #389ed5 100%);
    border: none;
    border-radius: 5px;
    position: relative;
    border-bottom: 5px solid #2b8bc6;
    color: #fbfbfb;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .4);
    font-size: 15px;
    text-align: center;
    box-shadow: 0px 3px 0px rgba(0, 0, 0, .2);
    cursor: pointer;
}

.cancelbtn:active {
    box-shadow: 0px 2px 0px rgba(0, 0, 0, .2);
    top: 1px;
}

.lu-btn-3d:active {
    box-shadow: 0px 2px 0px rgba(0, 0, 0, .2);
    top: 1px;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

body {
    display: flex;
}

ul {
    position: relative;
    transform: skewY(-15deg);
}

ul li {
    position: relative;
    width: 100%;
    background: #3e3f46;
    z-index: var(--z);
    padding: 15px;
    border-bottom: 1px solid #37383e;
    transition: 0.5s;
}

ul li:hover {
    transform: translate(50px, 10px) scale(1.1);
    background: #587498;
}

ul li a {
    color: #999;
    letter-spacing: 8px;
}

ul li:hover a {
    color: #fff;
}

ul li::before {
    content: ' ';
    width: 40px;
    height: 100%;
    background: #2e3133;
    display: block;
    position: absolute;
    left: -40px;
    top: 0;
    transform: skewY(45deg);
    transform-origin: right;
    transition: 0.5s;
}

ul li:hover::before {
    background: #516b8d;
}

ul li::after {
    content: ' ';
    width: 100%;
    height: 40px;
    background: #35383e;
    display: block;
    position: absolute;
    left: 0px;
    top: -40px;
    transform: skewX(45deg);
    transform-origin: bottom;
    transition: 0.5s;
}

ul li:hover::after {
    background: #6180a8;
}

ul li:last-child:after {
    box-shadow: -120px 120px 20px rgba(0, 0, 0, 0.25);
}

/* 弹窗 */
.modal {
    display: none;
    /* 默认隐藏 */
    position: fixed;
    /* 原地不动 */
    z-index: 1;
    /* 坐在上面 */
    left: 0;
    top: 0;
    width: 100%;
    /* 全宽 */
    height: 100%;
    /* 全高 */
    overflow: auto;
    /* 如果需要，启用滚动 */
    background-color: rgb(0, 0, 0);
    /* 后备颜色 */
    background-color: rgba(0, 0, 0, 0.4);
    /* 黑色带不透明度 */
    padding-top: 20%;
}

.modal1 {
    display: none;
    /* 默认隐藏 */
    position: fixed;
    /* 原地不动 */
    z-index: 1;
    /* 坐在上面 */
    left: 0;
    top: 0;
    width: 100%;
    /* 全宽 */
    height: 100%;
    /* 全高 */
    overflow: auto;
    /* 如果需要，启用滚动 */
    background-color: rgb(0, 0, 0);
    /* 后备颜色 */
    background-color: rgba(0, 0, 0, 0.4);
    /* 黑色带不透明度 */
    padding-top: 5%;
    /* text-align: center; */
}

/* 模态内容/框 */
.modal-content {
    background-color: #fefefe;
    margin: 5px auto;
    /* 15% 从顶部居中 */
    border: 1px solid #888;
    width: 10%;
    /* 可能或多或少，取决于屏幕大小 */
}

/* 关闭按钮 */
.close {
    /* 将其定位在模态框外的右上角 */
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}

/* Close button on hover */
.close:hover,
.close:focus {
    color: red;
    cursor: pointer;
}

/* 添加缩放动画 */
.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes animatezoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.error-message p {
    margin: 0;
    color: red;
    font-size: 10px;
}



* {
    box-sizing: border-box
}

/* 幻灯片容器 */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
    border-radius:50px
    /* display: flex; */
    
}

/* 默认隐藏图片 */
.mySlides {
    display: none;
    
}

/* Next & previous 按钮 */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    /* user-select: none; */
}

/* 将 "next button" 放在右侧 */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* 悬停时，添加一点透视的黑色背景颜色 */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* 字幕文字 */
.text {
    color: #140606;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* 数字文本（1/3 等） */
.numbertext {
    color: #080808;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* 点/项目符号/指标 */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}

/* 渐变动画 */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}
